<!--
  Generated template for the StoreEditPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->

<!-- <ion-header>

  <ion-navbar>
    <ion-title>出库数量登记</ion-title>
  </ion-navbar>

</ion-header> -->


<ion-header>

  <ion-navbar>
    <ion-title>
      出库详情
    </ion-title>
    <ion-buttons end>
      <button ion-button icon-only (tap)="dismiss()">
        <ion-icon name='close'></ion-icon>
      </button>
      <!-- <button ion-button icon-only (tap)="presentModal($event)"> 
              <ion-icon name='funnel'></ion-icon>
            </button> -->
    </ion-buttons>
  </ion-navbar>
</ion-header>


<ion-content>
<ion-list>
  <ion-item>
    <ion-label fixed>产品编号</ion-label>
    <ion-input type="text" value="{{item.sp_store__sp_code}}" disabled></ion-input>
  </ion-item>
  <ion-item>
    <ion-label fixed>产品名称</ion-label>
    <ion-input type="text" value="{{item.sp_store__sp_name}}" disabled></ion-input>
  </ion-item>
  <ion-item>
    <ion-label fixed>规格型号</ion-label>
    <ion-input type="text" value="{{item.sp_store__sp_type}}" disabled></ion-input>
  </ion-item>
  <ion-item>
    <ion-label fixed>计量单位</ion-label>
    <ion-input type="text" value="{{item.sp_store__unit}}" disabled></ion-input>
  </ion-item>
</ion-list>

<ion-list>
  <ion-item>
    <ion-label fixed>出库数量</ion-label>
    <ion-input type="number" [(ngModel)]="item.sp_store__out_num"></ion-input>
  </ion-item>
  <ion-item>
    <ion-label fixed>出库价格</ion-label>
    <ion-input type="number" [(ngModel)]="item.sp_store__out_price"></ion-input>
  </ion-item>
  <ion-item>
    <ion-label fixed>金额</ion-label>
    <ion-input type="number" value="{{item.sp_store__out_num*item.sp_store__out_price}}" disabled></ion-input>
  </ion-item>
  <ion-item>
    <ion-label position="stacked">备注</ion-label>
    <ion-textarea rows="3" placeholder="输入备注" [(ngModel)]="item.sp_store__out_memo"></ion-textarea>
  </ion-item>
</ion-list>


<div style="text-align: center;margin:10px 10%;width: 80%;">
  <button ion-button block (tap)="dismiss()" class="theme-button-bg">
    完成
  </button>
</div>
</ion-content>
